package com.ruoyi.demo3.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 开始审核对象 check_record
 * 
 * @author ruoyi
 * @date 2024-06-18
 */
public class CheckRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID */
    private Long checkRecordId;

    /** 审核员ID */
    @Excel(name = "审核员ID")
    private Long checkerId;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long ordersId;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checksRecordTime;

    /** 审核意见 */
    @Excel(name = "审核意见")
    private String checksOpinion;

    /** 审核结果 */
    @Excel(name = "审核结果")
    private Long checksPassed;

    public void setCheckRecordId(Long checkRecordId) 
    {
        this.checkRecordId = checkRecordId;
    }

    public Long getCheckRecordId() 
    {
        return checkRecordId;
    }
    public void setCheckerId(Long checkerId) 
    {
        this.checkerId = checkerId;
    }

    public Long getCheckerId() 
    {
        return checkerId;
    }
    public void setOrdersId(Long ordersId) 
    {
        this.ordersId = ordersId;
    }

    public Long getOrdersId() 
    {
        return ordersId;
    }
    public void setChecksRecordTime(Date checksRecordTime) 
    {
        this.checksRecordTime = checksRecordTime;
    }

    public Date getChecksRecordTime() 
    {
        return checksRecordTime;
    }
    public void setChecksOpinion(String checksOpinion) 
    {
        this.checksOpinion = checksOpinion;
    }

    public String getChecksOpinion() 
    {
        return checksOpinion;
    }
    public void setChecksPassed(Long checksPassed) 
    {
        this.checksPassed = checksPassed;
    }

    public Long getChecksPassed() 
    {
        return checksPassed;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("checkRecordId", getCheckRecordId())
            .append("checkerId", getCheckerId())
            .append("ordersId", getOrdersId())
            .append("checksRecordTime", getChecksRecordTime())
            .append("checksOpinion", getChecksOpinion())
            .append("checksPassed", getChecksPassed())
            .toString();
    }
}
